/*
 * BeepWithDelay.c
 *
 * Created: 2013/1/13 17:32:10
 *  Author: Tater
 */ 

#define __DELAY_BACKWARD_COMPATIBLE__
#include <avr/io.h>
#include <util/delay.h>

int main(void)
{
	unsigned char c=0;
	DDRA |= (1<<PORTA5);

    while(1)
    {
		for (c=0;c<10000;c++)
		{
			PORTA |= (1<<PORTA5);
			_delay_ms(c);
			PORTA &= (0<<PORTA5);
			_delay_ms(c);
		}

        //TODO:: Please write your application code 
    }
}